com.highdeal.mappingtable.hci
Class MappingTableClassOutColumnModel

java.lang.Object
  extended by com.highdeal.hci.HCIModelAdapter
      extended by com.highdeal.mappingtable.hci.MappingTableClassOutColumnModel
All Implemented Interfaces:
ITagNameProvider, IXMLMarshallable, XMLMarshallable

public class MappingTableClassOutColumnModel
extends HCIModelAdapter

This Java class represents an output attribute in a mapping table class.

See Also:
MappingTableClassModel

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="outColumn">
 	<xs:complexType>
 		<xs:sequence>
 			<xs:choice>
 				 <xs:element ref="string" />
 				 <xs:element ref="number" />
 			</xs:choice>
 		</xs:sequence>
 		<xs:attribute name="name" type="xs:string"/>
 		<xs:attribute name="description" type="xs:string"/>
 	</xs:complexType>
 </xs:element>


Nested Class Summary
static class MappingTableClassOutColumnModel.OutMappingTableClassType
          This enumeration lists the possible attribute values in a out column defined in a mapping table class.
 
Field Summary
static java.lang.String TAG_NAME
          This XML tag name of this data model: "outColumn"
 
Constructor Summary
MappingTableClassOutColumnModel()
           
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds character data to the content element.
 void addChild(java.lang.String tagName, XMLMarshallable child)
          Adds a child to the object, the child representing the marshallable object which must be added to the element.
 MappingTableClassOutColumnModel duplicate()
           
 java.lang.String getDescription()
          Gets the description of the out column.
 java.lang.String getName()
          Gets the name of the out column.
 java.lang.String getTagName()
          Gets the XML tag of HCI Model.
 MappingTableClassOutColumnModel.OutMappingTableClassType getType()
          Gets the type of the out column.
 void marshalAttributes(XMLOutputter output)
          Gives an XML representation of the attributes of an object.
 void marshalChildren(XMLOutputter output)
          Gives an XML representation of the child objects of an object.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the element being processed.
 void setDescription(java.lang.String description)
          Sets the description of the out column.
 void setName(java.lang.String name)
          Sets the name of the out column.
 void setType(MappingTableClassOutColumnModel.OutMappingTableClassType type)
          Sets the type of the out column.
 
Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
This XML tag name of this data model: "outColumn"

See Also:
Constant Field Values
Constructor Detail

MappingTableClassOutColumnModel

public MappingTableClassOutColumnModel()
Method Detail

getName

public java.lang.String getName()
Gets the name of the out column.

Returns:
A string that contains the name of the out column

setName

public void setName(java.lang.String name)
Sets the name of the out column.

Parameters:
name - The name of the out column

getDescription

public java.lang.String getDescription()
Gets the description of the out column.

Returns:
A string that contains the description of the out column

setDescription

public void setDescription(java.lang.String description)
Sets the description of the out column.

Parameters:
description - The description of the out column

getType

public MappingTableClassOutColumnModel.OutMappingTableClassType getType()
Gets the type of the out column.

Returns:
The type of the out column
See Also:
setType(OutMappingTableClassType), MappingTableClassOutColumnModel.OutMappingTableClassType

setType

public void setType(MappingTableClassOutColumnModel.OutMappingTableClassType type)
Sets the type of the out column.

Parameters:
type - The type of the out column
See Also:
MappingTableClassOutColumnModel.OutMappingTableClassType

getTagName

public java.lang.String getTagName()
Gets the XML tag of HCI Model.

Returns:
The XML tag name

duplicate

public MappingTableClassOutColumnModel duplicate()

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Parameters:
cData - The character data to be added

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the object, the child representing the marshallable object which must be added to the element.

Parameters:
tagName - The name of tag for the child
child - The child to be added

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the element being processed.

Parameters:
atts - The XML attributes of the current element

marshalAttributes

public void marshalAttributes(XMLOutputter output)
Description copied from interface: IXMLMarshallable
Gives an XML representation of the attributes of an object.

Parameters:
output - The XML output to marshal the object attributes into

marshalChildren

public void marshalChildren(XMLOutputter output)
Description copied from interface: IXMLMarshallable
Gives an XML representation of the child objects of an object.

Parameters:
output - The XML output to marshal the child objects into

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)